try:
    a = int(input('请输入a'))
    b = int(input('请输入b'))
    c = int(input('请输入c'))
    d = a / b + c
except ValueError:
    print("输入错误")
except ZeroDivisionError:
    print("除数不能为0")